package schoolWork.work04.Example3;

public class BankAccountDemo {
    public static void main(String[] args) {
        try {
            BankAccount harrysChecking = new BankAccount("harry", -500);
            System.out.println("account created success");
        } catch (NegativeBalanceException e) {
            System.out.println(e.getMessage());
        }
    }
}